bitkeeper revision 1.1159.79.2 (414c1134FG1zvS9xwv2yPDvyS7W3ig)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sat, 18 Sep 2004 10:43:00 +0000 (10:43 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Sat, 18 Sep 2004 10:43:00 +0000 (10:43 +0000)
commit0bfc95f5b02bf7cf90fa1a0a8a9fbd48ee1a1d47
tree0faad052efc86c59c941513faeb3e0d21ce6222d
parent90d122ec63884d05271db5556fa187b1a96cf169
bitkeeper revision 1.1159.79.2 (414c1134FG1zvS9xwv2yPDvyS7W3ig)

Linux scrubs memory before returnign it to Xen, or transferring it to
other domains (e.g., net backend driver). To avoid continual scrubbing during
network transfers, I allocate rx skbuffs from a dedicated slab cache. Pages
only neded to be scrubbed on entry to the cache, which should be ratehr more
occasional than allocs/frees.
Finally, scrubbing can be entirely disabled via a config option under the
'XEN' menu in the 2.4 and 2.6 kernel configurators.
21 files changed:
.rootkeys
linux-2.4.27-xen-sparse/arch/xen/config.in
linux-2.4.27-xen-sparse/arch/xen/defconfig-xen0
linux-2.4.27-xen-sparse/arch/xen/defconfig-xenU
linux-2.4.27-xen-sparse/arch/xen/drivers/balloon/balloon.c
linux-2.4.27-xen-sparse/arch/xen/kernel/Makefile
linux-2.4.27-xen-sparse/include/asm-xen/page.h
linux-2.4.27-xen-sparse/include/linux/skbuff.h
linux-2.4.27-xen-sparse/mkbuildtree
linux-2.6.8.1-xen-sparse/arch/xen/Kconfig
linux-2.6.8.1-xen-sparse/arch/xen/configs/xen0_defconfig
linux-2.6.8.1-xen-sparse/arch/xen/configs/xenU_defconfig
linux-2.6.8.1-xen-sparse/arch/xen/i386/kernel/pci-dma.c
linux-2.6.8.1-xen-sparse/arch/xen/i386/mm/hypervisor.c
linux-2.6.8.1-xen-sparse/arch/xen/kernel/Makefile
linux-2.6.8.1-xen-sparse/arch/xen/kernel/skbuff.c [new file with mode: 0644]
linux-2.6.8.1-xen-sparse/drivers/xen/netback/netback.c
linux-2.6.8.1-xen-sparse/drivers/xen/netfront/netfront.c
linux-2.6.8.1-xen-sparse/include/asm-xen/asm-i386/page.h
linux-2.6.8.1-xen-sparse/include/linux/skbuff.h
xen/common/page_alloc.c